package edu.map.aamas.charts;

import edu.map.aamas.gui.Tadpole;
import edu.map.aamas.rnn.RNN;

public class PositionChart extends RnnChart {

	private static final long serialVersionUID = 1L;

	public PositionChart(RNN rnr) {
		super(rnr, new String[]{"x","y"});
	}
	
	public void rnnUpdated(RNN rnr) {
		update(new double[] {Tadpole.getInstance().getPosition().x, Tadpole.getInstance().getPosition().y});

	}

}
